package com.example.pattern.bridge;

/**
 * 应用
 *
 * @author FM_南风
 * @date 2024/7/2 13:38
 */
public class BridgeClient {
    public static void main(String[] args) {
        Drawing drawing1 =  new DrawingClass(100, 100, 10, new DrawingAPI1());
        Drawing drawing2 = new DrawingClass(200, 200, 20, new DrawingAPI2());
        drawing1.draw();
        drawing2.draw();
    }
}
